home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Interactive 7
/
PC World Interactive 7.iso
/
program
/
vbkontrol.exe
/
QUOTEZ11.ZIP
/
QUOTEZ.TXT
< prev
next >
Wrap
Text File
|
1995-07-13
|
2KB
|
56 lines
Quotez VBX, Version 1.1, Copyright (c) 1995, Martin Bryant, All Rights Reserved
Introduction
------------
The QUOTEZ.VBX file is a custom control suitable for use with such programming
languages as Visual Basic, Visual C++ and Delphi. It selects random witty
quotations from a customisable data file (initially containing 409 such
quotations), thus providing a 'cookie jar' or 'quote of the day' facility for
applications.
Shareware Notice
----------------
Quotez VBX is shareware. You are welcome to use it for a trial period but if
you continue to use it then please register and support the shareware concept.
You may freely copy/distribute the shareware version as long as you make no
charge for it. If you register, then you may use it in commercial products with
no royalty fee. Thank you for trying Quotez VBX!
You can register by sending £5 sterling or equivalent foreign currency (cash
preferred!) to Martin Bryant, 71 Hunstanton Drive, Brandlesholme, Bury,
Lancashire BL8 1XH, England.
Registered users receive free updates and a full list of our other products.
Constructive comments/criticisms welcome at the above address or email
martinbr@colossus.demon.co.uk
Compatibility
-------------
QUOTEZ.VBX is compatible with level 1 VBX controls.
Appearance
----------
When added to a program the control appears in the toolbox as a speech bubble.
It is non-sizable on a form and is invisible at run-time.
Properties
----------
In addition to the standard properties of Name, Index, Left and Top it also
has the following custom properties...
About (read only) - gives version information
Inputfile - points to the data file containing the quotations. By default this
is set to c:\windows\system\quotez.dat so you should place the quotez.dat file
in the c:\windows\system directory along with the quotez.vbx file. The format
of the data file is simply one quote per line, no blank lines. New quotes can
simply be appended to the end of the file
Action (run-time only) - set to a value <=0 to extract a random quote or to
a value >0 to select a particular quote
Quote (run-time only) - a string property returning the selected quotation
Error (run-time only) - may return an error number if there is a problem
accessing the data file. Possible errors are: 2-file not found, 3-path not
found, 4-too many open files
The default Name property prefix and class name is 'Quotez'.
Events
------
The control has no pre-defined events.